package com.group.product.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.group.commons.entity.Product;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductService {
    Integer addProduct(Product product);
    List<Product> selectAllProduct(IPage<Product> page, @Param("categoryId")int id, @Param("product")Product product);
}
